import $axios from "../utils/request";
//热门搜索
export function deleteCartItem(params) {
return $axios.get("/order/deleteCartItem",{params});
}
//添加订单
export function addOrder(data) {
return $axios.post("/order/addOrder",data);
}
//获取订单信息
export function confirmOrder(params) {
return $axios.get("/order/confirmOrder",{params});
}
//修改订单地址
export function updateOrderAddress(data) {
return $axios.post("/order/updateOrderAddress",data);
}

